################################################
#
# BiscuitOS-PAGING-PageWalk-DM-MMAP-LOCK
#
################################################
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_NAME        := BiscuitOS-PAGING-PageWalk-DM-MMAP-LOCK
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_VERSION     := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_VERSION)
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SITE        := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_URL)
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_GITHUB      := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_GITHUB)
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SUBNAME     :=
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_BUILDARCH   := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_BUILDARCH)
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_DIR         := $(srctree)/package/PAGING/BiscuitOS-PAGING-PageWalk-DM-MMAP-LOCK
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_PATCH       := $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_DIR)/patch
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_BSBIT       := BiscuitOS-PAGING-PageWalk-DM-MMAP-LOCK-$(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_VERSION).bsbit
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_OUT         :=
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SCRIPTS     := $(srctree)/scripts/package/package-kernel.sh
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_TAR         := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_TAR)
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_PACKAGE     :=
PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CONFIG      := $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CONFIG)
SUB_TARGET                  += $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_DIR)/build

PK_PAGING_PAGEWALK_DM_MMAP_LOCK_sh = $(CONFIG_SHELL) $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SCRIPTS) \
                 $1X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_NAME)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_VERSION)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SITE)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_GITHUB)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SUBNAME)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CONFIG)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_LIBPATH)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CPPFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_DPKCONFIG)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_LDFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CXXFLAGS)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_ASFLAGS)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_BSBIT)X \
                 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_BUILDARCH)X \
		 $(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CSRCFILE)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_SRCFILE)X \
                 $(CONFIG_PK_PAGING_PAGEWALK_DM_MMAP_LOCK_CSRCFILE)

$(PK_PAGING_PAGEWALK_DM_MMAP_LOCK_DIR)/build: FORCE
	$(Q)$(call PK_PAGING_PAGEWALK_DM_MMAP_LOCK_sh,$(srctree))
